package com.zhuang.chapter18;

public class AreaMain {
	public static void main(String[] args) {
		Area area = new Area();
		Circle circle = new Circle();
		Sphere sphere = new Sphere();
		System.out.println("圆的面积" + area.getArea(5));
		System.out.println("半圆的面积" + circle.getArea(5));
		System.out.println("球体的面积" + sphere.getArea(5));
	}
}
